package com.ruoyi.project.sysmanage.mapper;

import com.ruoyi.project.sysmanage.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface SysmMapper {

    //查询所有
    List<Dept> selectAll(Dept dept);
    //科室增加
    int insert(Dept dept);
    //根据主键查询
    Dept selectById(int deptId);
    //修改科室
    int update(Dept dept);
    //删除科室
    int delete(@Param("deptIds") int[] deptIds);

    List<Dept> select();
}
